Runtime Environment
Q21.
The overlay tree for a program is as shown below:What will be the size of the partition (in physical memory) required to load (and run) this program?Q22.
A linker reads four modules whose lengths are 200, 800, 600 and 500 words, respectively. If they are loaded in that order, what are the relocation constants?Q23.
In a resident-OS computer, which of the following systems must reside in the main memory under all situations?Q25.
A language L allows declaration of arrays whose sizes are not known during compilation. It is required to make efficient use of memory. Which one of the following is true?Q26.
A linker is given object modules for a set of programs that were compiled separately. What information need to be included in an object module?Q27.
A part of the system software which under all circumstances must reside in the main memory is:Q28.
The process of assigning load addresses to the various parts of the program and adjusting the code and date in the program to reflect the assigned addresses is calledQ29.
Choose the correct alternatives (more than one may be correct ) and write the corresponding letters only A "link editor" is a program that:Q30.
Consider the program given below, in a block-structured pseudo-language with lexical scoping and nesting of procedures permitted. Consider the calling chain: Main \rightarrow A1 \rightarrow A2 \rightarrow A21 \rightarrow A1 The correct set of activation records along with their access links is given by